package com.purchase.ml.bean.req.prod;

import com.purchase.ml.bean.base.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author :zxm
 * @date :2021/2/25 15:13
 * @description :some description
 **/
@Data
@ApiModel(value = "商品查询model")
public class SysProdQueryDto extends PageDto implements Serializable {
    /**
     * 经销商id
     */
    @ApiModelProperty(value = "经销商id")
    private Long dealerId;
    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品名称",required = true)
    private Long categoryId;

    private Integer state;

    @ApiModelProperty(value = "AESC;DESC",required = true)
    private Integer sort;
    @ApiModelProperty(value = "按谁排序：如价格",required = true)
    private String order;
}
